package com.itzb.asone.system.service.impl;


import java.util.List;

import com.itzb.asone.mybatis.Criteria;
import com.itzb.asone.system.model.SysGroupResource;
import com.itzb.asone.system.repository.ISysGroupResourceRepository;
import com.itzb.asone.system.service.IMessageService;
import com.itzb.asone.system.service.ISysGroupResourceService;


public class SysGroupResourceServiceImpl implements ISysGroupResourceService{

	private ISysGroupResourceRepository sysGroupResourceRepository;
	private IMessageService messageService;
	
	public List<SysGroupResource> queryPage(Criteria<SysGroupResource> param){
		return sysGroupResourceRepository.queryPage(param);
	}

	public Integer queryPageCount(Criteria<SysGroupResource> param){
		return sysGroupResourceRepository.queryPageCount(param);
	}

	public SysGroupResource queryEntityById(String id){
		return sysGroupResourceRepository.queryEntityById(id);
	}

	public Integer insert(SysGroupResource record){
		return sysGroupResourceRepository.insert(record);
	}

	public Integer updateByCriteria(Criteria<SysGroupResource> param){
		return sysGroupResourceRepository.updateByCriteria(param);	
	}

	public Integer deleteById(String id){
		return sysGroupResourceRepository.deleteById(id);
	}

	public Integer deleteByCriteria(Criteria<SysGroupResource> param){
		return sysGroupResourceRepository.deleteByCriteria(param);
	}

	public ISysGroupResourceRepository getSysGroupResourceRepository() {
		return sysGroupResourceRepository;
	}

	public void setSysGroupResourceRepository(
			ISysGroupResourceRepository sysGroupResourceRepository) {
		this.sysGroupResourceRepository = sysGroupResourceRepository;
	}

	public IMessageService getMessageService() {
		return messageService;
	}

	public void setMessageService(IMessageService messageService) {
		this.messageService = messageService;
	}

}
